package cc.magicjson.summary.errors.connection.closed.camel;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class FileRoute extends RouteBuilder {
    @Override
    public void configure() throws Exception {
        from("file:./input?noop=true")

            .log("Processing file: ${file:name}")
            .to("file:./output");
    }
}
